package com.vogue.supplymall.common.domain.dto.admin;

import com.vogue.supplymall.common.domain.validate.NotEmpty;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import java.io.InputStream;
import java.io.Serializable;
import java.util.Date;

/**
 * The type Private platform app info.
 *
 * @author zhangliang
 * @date Create in 2018-07-12
 */
public class PrivatePlatformAppInfo implements Serializable {
    private Long id;
    /**
     * 私有平台信息id
     */
    private Long appid;
    /**
     * app类型 1：ios 2：android 3:plist
     */
    private Integer type;
    /**
     * 在线安装地址
     */
    private String onlineurl;
    /**
     * 下载源文件地址
     */
    private String downloadurl;
    /**
     * 二维码图片地址
     */
    private String qrcodeurl;
    /**
     * 上传时间
     */
    private Date uptime;
    /**
     * 版本号
     */
    private String version;
    /**
     * 备注
     */
    private String memo;
    /**
     * 上传文件
     */
    private CommonsMultipartFile file;
    private InputStream fileStream;
    /**
     * 私有化平台名称(青云路径名)
     */
    private String name;
    /**
     * 文件名
     */
    private String filename;
    /**
     * 扩展名
     */
    private String extension;
    /**
     * plist上传时的前缀
     */
    private String iosService;

    public String getIosService() {
        return iosService;
    }

    public void setIosService(String iosService) {
        this.iosService = iosService;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAppid() {
        return appid;
    }

    public void setAppid(Long appid) {
        this.appid = appid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOnlineurl() {
        return onlineurl;
    }

    public void setOnlineurl(String onlineurl) {
        this.onlineurl = onlineurl;
    }

    public String getDownloadurl() {
        return downloadurl;
    }

    public void setDownloadurl(String downloadurl) {
        this.downloadurl = downloadurl;
    }

    public String getQrcodeurl() {
        return qrcodeurl;
    }

    public void setQrcodeurl(String qrcodeurl) {
        this.qrcodeurl = qrcodeurl;
    }

    public Date getUptime() {
        return uptime;
    }

    public void setUptime(Date uptime) {
        this.uptime = uptime;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public CommonsMultipartFile getFile() {
        return file;
    }

    public void setFile(CommonsMultipartFile file) {
        this.file = file;
    }

    public InputStream getFileStream() {
        return fileStream;
    }

    public void setFileStream(InputStream fileStream) {
        this.fileStream = fileStream;
    }
}
